1. 5.5 Pandas画图
1.1. 学习目标
- 了解DataFrame的画图函数
- 了解Series的画图函数
1.2. 1 pandas.DataFrame.plot
DataFrame.plot
(kind='line')
kind : str,需要绘制图形的种类
- ‘line’ : line plot (default)
- ‘bar’ : vertical bar plot
- ‘barh’ : horizontal bar plot
- ‘hist’ : histogram
- ‘pie’ : pie plot
- ‘scatter’ : scatter plot